| EqualsErrorMessage method |
Applies to
TTestCase
Declaration
Function EqualsErrorMessage(expected, actual, msg: string): string;Implementation
function TTestCase.EqualsErrorMessage(expected, actual :string; msg :string) :string;
begin
if (msg <> '') then
msg := msg + ', ';
Result := Format('%s expected and actual were:<%s>', [msg, expected])
End; |
|
|